﻿@model Data.Web.News

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>News</legend>

    <div class="display-label">
         Danh mục
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CateName)
    </div>

    <div class="display-label">
         Tiêu đề
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">
         Tài khoản
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserName)
    </div>

    <div class="display-label">
         Ngày tạo
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateCreate)
    </div>

    <div class="display-label">
         Mô tả
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">
         Nội dung
    </div>
    <div class="display-field">
        @Html.Raw(Model.Content)
        
    </div>

    <div class="display-label">
         Hình ảnh
    </div>
    <div class="display-field">
         <im src="@Model.Image"></im>
    </div>

    <div class="display-label">
         Trạng thái
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Satus)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Sửa", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
